<template>
  <div class="main">
    <div class="left">
      <studentMainleft></studentMainleft>
    </div>
    <div class="right">
      <template>
        <el-table :data="tableData" style="width: 100%">
          <el-table-column prop="date" label="日期" width="300"></el-table-column>
        </el-table>
      </template>
    </div>
  </div>
</template>

<script>
import studentMainleft from "@/components/studentMainleft";
export default {
  components: {
    studentMainleft
  },
  data() {
    return {
        college:[],
    };
  },
  created() {
      this.GetAllCollege()
  },
  mounted() {},
  methods: {
      GetAllCollege(){
          this.axios({
           method:'get',
           url:this.api.GetAllCollege,
           }).then((res)=>{
           console.log(res)
           this.college = res.data.message
          })
      }
  }
};
</script>

<style scoped>
.main {
  display: flex;
  height: 100%;
}
.right {
  width: 100%;
  background-color: white;
  height: 80%;
  margin-left: 10px;
}
</style>
